<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> 网站后台管理系统 </title>
<meta name="keywords" content="" />
<meta name="description" content=" " />
</head>
<body>
<?php
/**
 ****** 类 ******
 * ============================================================================
 * @Author Luke <myluke@qq.com >
 * @Copyright (C) 2010 iluke.cn All rights reserved. 
 * @Link: http://www.iluek.cn
 * ============================================================================
 */
require_once 'mysql_class.php';

$db	= new Mysql();
$sql  =	'select * from `article`';
$rs	  = $db->query($sql);
$num  =	$db->nums($rs);
$one  =	$db->fetch($rs);
$all  =	$db->fetch_all($rs);
echo $num.$one;
print_r($all);
/*$_sql =	'select * from `article`';
$_rs  = mysql_query($_sql);
$l	  = mysql_fetch_array($_rs,MYSQL_ASSOC);
echo $l[0];
var_dump($l);
*/
?>
</body>
</html>